﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using System.Xml.Serialization;
using Weapp.Data.Enums;

namespace Weapp.Web.Models
{
    [Serializable, XmlRoot("SizeCategoryModel"), DataContract(Name = "SizeCategoryModel")]
    public class UserDnDModel


    {
        [XmlElement("Account"), DataMember(Name = "Account")]
        public string Account { get; set; }

        [XmlElement("UserName"), DataMember(Name = "UserName")]
        public string UserName { get; set; }

        [XmlElement("Password"), DataMember(Name = "Password")]
        public string Password { get; set; }


        // role = 1 -> Master
        // role = 2 -> Jugador
        [XmlElement("Role"), DataMember(Name = "Role")]
        public string Role { get; set; }


    }
}